<!-- Recently Added Blog Posts Starts -->
<div class="blog-posts-wrap">
	<div class="some_blank_space"></div>
	<div class="content-skeleton">

		<!-- Recent Posts List -->
		<ul class="blog-posts-list masonry-post-list">

			<?php
			foreach ($get_articles as $key => $get_article) {
			?>
			<!-- A Sticky Post -->
			<li class="blog-posts-item masonry-post">
				<!--<span class="sticky-icon"></span> -->
				<div class="post-thumbnail">
					<img src="<?php echo base_url() . $get_article->url_gambar_news; ?>" alt="" />
				</div>
				<div class="post-header">
					<h3 class="post-title"><a href="<?php echo base_url(); ?>modul/article/view/<?php echo $get_article->id_news; ?>"><?php echo $get_article->judul_news; ?></a></h3>
					<span class="post-date"><?php echo $get_article->date_update; ?></span>
					<a href="<?php echo base_url(); ?>modul/article/view/<?php echo $get_article->id_news; ?>" class="grey-circle-arrow"></a>
				</div>
				<div class="post-summary">
					<p><?php echo character_limiter($get_article->content_news, 250); ?></p>
				</div>
			</li>
			<?php
			}
			?>				

		</ul>
		<div class="clear"></div>

	</div>

	<div class="pagination-wrap">
		<span>Page <?php echo $posisi; ?> of <?php echo $total_page; ?></span>

			<?php
	        for($i=1;$i<=$total_page;$i++){
	            if($i==1){
	                if($i==$posisi) echo "<span class=current>$i</span>"; 
	                else echo anchor($base_url,$i,'class="inactive"');
	            } else if ($i==$posisi){
	            	echo "<span class=current>$i</span>";
	            } else {
	                echo anchor($base_url . '/' . $i,$i,'class="inactive"');
	            }
	        }
	        ?>

	</div>

	<div class="some_blank_space"></div>

</div>	
		<!-- Recently Added Blog Posts Ends -->